package com.aspose.cells;

class zdf extends zcdb {
   zdf(Scenario var1) throws Exception {
      this.d = 502;
      byte var2 = 10;
      int var4 = var2 + 4 + (var1.b == null ? 0 : var1.b.length() * 2);
      var4 += 4 + (var1.getComment() == null ? 0 : var1.getComment().length() * 2);
      var4 += 4 + (var1.getUser() == null ? 0 : var1.getUser().length() * 2);
      this.c = new byte[var4];
      byte var3 = 0;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getInputCells().getCount()), 0, this.c, var3, 2);
      int var5 = var3 + 2;
      this.c[var5] = (byte)(var1.isLocked() ? 1 : 0);
      var5 += 4;
      this.c[var5] = (byte)(var1.isHidden() ? 1 : 0);
      var5 += 4;
      var5 = zcch.a(this.c, var5, var1.b);
      var5 = zcch.a(this.c, var5, var1.getComment());
      zcch.a(this.c, var5, var1.getUser());
   }
}
